Graphics.LastPage

Read-Only
The value in the To field of the Print dialog box. This property is meaningful only when the graphics object was created by the OpenPrinterDialog function.

Syntax

LastPage as Integer